/*
 * @Author: malgee
 * @Date: 2025-04-18 09:24:24
 * @LastEditors: maling
 * @LastEditTime: 2025-04-18 10:31:41
 * @FilePath: /vue3-ts-cms/src/global/register-element.ts
 * @Description:
 *
 */
import { App } from 'vue'
// import 'element-plus/lib/theme-chalk/base.css' // 引入element-plus的css, 基础样式, 样式重置, 比如
import {
  ElButton,
  ElCheckbox,
  ElForm,
  ElFormItem,
  ElInput,
  ElLink,
  ElRadio,
  ElTabPane,
  ElTabs
} from 'element-plus'

const components = [
  ElButton,
  ElCheckbox,
  ElForm,
  ElFormItem,
  ElInput,
  ElLink,
  ElRadio,
  ElTabPane,
  ElTabs
]
export default function registerEL(app: App): void {
  // components.forEach((component) => {
  //   if (component.name) {
  //     app.component(component.name, component)
  //   }
  // })
}
